package name.huzhenbo.java.klass;

import java.util.ArrayList;
import java.util.List;

class Box<T> {

    List<T> container = new ArrayList<T>();

    public void put(T t) {
        container.add(t);
    }

    public T remove(int index) {
        return container.remove(index);
    }

    public int size() {
        return container.size();
    }

    public T get(int i) {
        return container.get(i);
    }
}
